
const express = require('express')
const router = express.Router()
const myaddress = require('../router_handel/myaddress.js')

// 获取地址管理列表
router.post('/addresslist', myaddress.addresslist)
// 新增地址
router.post('/addressadd', myaddress.addressadd)
// 删除地址
router.get('/addressdelete', myaddress.addressdelete)
// 设置地址为默认
router.post('/addressdefault', myaddress.addressdefault)
// 获取默认地址
router.post('/getAddressdefault', myaddress.getAddressdefault)

module.exports = router